package com.example.bluetooth.retrofit;

import okhttp3.RequestBody;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.POST;

public interface Api {
    @POST("user/login")
    Call<Result> login(@Body RequestBody body);

    @POST("user/register")
    Call<Result> reg(@Body RequestBody body);

    @POST("parkinglock/bind")
    Call<Result> bind(@Body RequestBody body);

    @POST("parkinglock/unbind")
    Call<Result> unbind(@Body RequestBody body);

}
